package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

//set和get方法
@Data
//有参无参构造函数
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Student {
    public Integer id;
    public String name;
    public LocalDate adminDate;
    public String major;
}
